<?php
$form = $this->beginWidget('CActiveForm', array(
    'action' => Yii::app()->createUrl($this->route),
    'method' => 'get',
));
?>

<p>
    <?php echo $form->label($model, 'url'); ?>
    <?php echo $form->textField($model, 'url', array('size' => 60, 'maxlength' => 255)); ?>
</p>

<p>
    <?php echo $form->label($model, 'title'); ?>
    <?php echo $form->textField($model, 'title', array('size' => 60, 'maxlength' => 255)); ?>
</p>

<p>
    <?php echo $form->label($model, 'bookmark_folder_id'); ?>
    <?php echo $form->dropDownList($model, 'bookmark_folder_id', CHtml::listData(Yii::app()->user->model->bookmarkFolders, 'id', 'name'), array('prompt' => 'select bookmark folder',)); ?>
</p>

<div class="action">
    <?php echo CHtml::submitButton('Search'); ?>
</div>

<?php $this->endWidget(); ?>